

.el-menu--popup{
  min-width: 100px;
  border-radius: 4px;
  background: #fff!important;
  overflow: hidden;
  overflow-y: auto;
  max-height: calc(100vh - 10px);

  .el-menu-item{
    background-color: #fff;
    i,span{
        color:#070b2d;
    }
    &:hover{
        i,span{
            color:#0045c8;
        }
    }
    &.is-active {
        //background-color: rgba(0,0,0,.8);
        &:before {
            content: '';
            top: 10px;
            left: 0;
            bottom: 10px;
            width: 2px;
            background: #0045c8;
            position: absolute;
        }
        i,span{
            color:#0045c8;
        }
    }
  }

  .el-submenu__title {
    background: #fff;

    .el-submenu__icon-arrow {
      right: 5px;
      font-size: 14px;
      margin-top: -5px;
    }

    &:hover {
      color: #0045c8;

      i {
        color: #0045c8;
      }
    }
  }
  //.el-submenu.is-active .el-submenu__title
  .el-submenu {
    .el-menu-item {
      padding-right: 20px;
      min-width: 100px;
    }

    &.is-active {
      .el-submenu__title {
        color: #0045c8;

        i {
          color: #0045c8;
        }
      }
    }
  }

}
.Huilan-menu-tip {
  &.is-dark {
    background: #fff;
    color: #0045C8;
    font-size: 16px;
    line-height: 40px;
    border-radius: 0 30px 30px 0;
    box-shadow: 4px 0 5px 2px #eaeaf0;
    margin-left: 0;
  }

  .popper__arrow {
    display: none;
  }
}
.avue-sidebar {
  user-select: none;
  position: relative;
  padding-top: 104px;
  height: 100%;
  position: relative;
  background-color: #2c2e3e;
  transition: width .2s;
  transition-delay: 1s;
  box-sizing: border-box;
  box-shadow: 2px 0 6px rgba(0,21,41,.35);

  .el-scrollbar__wrap {
      overflow-x: hidden;
  }
  &--tip{
      width:90%;
      height: 140px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 5px;
      position: absolute;
      top:5px;
      left:5%;
      color:#ccc;
      z-index: 2;
      text-align: center;
      font-size: 14px;
      background-color: rgba(0,0,0,.4);
  }
  .el-menu {
    padding-top: 20px;
    width: 240px;

    .el-menu {
      padding-top: 0;
      width: auto;
    }

    &.el-menu--collapse {
      //padding-top: 0;
      width: 90px;

      .el-menu-item {
        min-width: 90px;

        .el-tooltip {
          transition: background 1s;
          &:hover {
            background: #fff;

            i{
              color: #0045c8;
            }
          }
        }

        &.is-active {
          border-radius: 0;
        }
      }

      .el-submenu {
        min-width: 90px;

        &.is-active {
          .el-submenu__title {
            background: #f8f9fa;

            &:before {
              content: '';
              position: absolute;
              top: -20px;
              right: 0;
              width: 20px;
              height: 20px;
              background: #f8f9fa;
              clip-path: path('M 20 0 l 0,20 l -20 0 a 20 20 0 0 0 20 -20 z');
              pointer-events: none;
            }
            &:after {
              content: '';
              position: absolute;
              bottom: -20px;
              right: 0;
              width: 20px;
              height: 20px;
              background: #f8f9fa;
              clip-path: path('M 0 0 l 20 0 l 0 20 a 20 20 0 0 0 -20 -20 z');
              pointer-events: none;
              z-index: 1;
            }

            i:not(.menu-icon-img) {
              //color: #0045c8;
              background: linear-gradient(300deg, #2780ff, #7db4ff);
              box-shadow: 0px 3px 5px 0px #2780ff96;
            }
          }
        }
      }
    }
  }
  .el-menu-item,.el-submenu__title{
      height: 60px;
      line-height: 60px;

      .item-icon{
        font-size: 20px;
        margin-right: 10px;
        margin-left: 5px;
        display: inline-block;
        width: 40px;
        height: 40px;
        text-align: center;
        line-height: 40px;
        border-radius: 12px;
      }
      .el-submenu__icon-arrow {
        right: 20px;
        font-size: 16px;
      }
      span {
        font-size: 16px;
      }
      i,span{
          color:hsla(0,0%,100%,.7);
      }
      &:hover{
          background: transparent;
          i,span{
             color:#fff;
          }
      }
      &.is-active {
        //&:before {
        //    content: '';
        //    top: 0;
        //    left: 0;
        //    bottom: 0;
        //    width: 4px;
        //    background: #409eff;
        //    position: absolute;
        //}
        background-color: #f8f9fa;
        //margin-left: 10px;
        //border-radius: 30px 0 0 30px;

        &:before {
          content: '';
          position: absolute;
          top: -20px;
          right: 0;
          width: 20px;
          height: 20px;
          background: #f8f9fa;
          clip-path: path('M 20 0 l 0,20 l -20 0 a 20 20 0 0 0 20 -20 z');
          pointer-events: none;
        }
        &:after {
          content: '';
          position: absolute;
          bottom: -20px;
          right: 0;
          width: 20px;
          height: 20px;
          background: #f8f9fa;
          clip-path: path('M 0 0 l 20 0 l 0 20 a 20 20 0 0 0 -20 -20 z');
          pointer-events: none;
          z-index: 1;
        }


        i:not(.menu-icon-img) {
          background: linear-gradient(300deg, #2780ff, #7db4ff);
          box-shadow: 0px 3px 5px 0px #2780ff96;
        }
        span{
            color:#2c2e3e;
        }
      }
    }

  .el-submenu {
    .el-menu-item {
      >span:before {
        content: '';
        display: inline-block;
        width: 4px;
        background: #fff;
        height: 8px;
        border-radius: 2px;
        margin-right: 10px;
        margin-left: 30px;
      }

      &:hover {
        background: #262734;
      }

      &.is-active {
        &:hover {
          background: #f8f9fa;
        }
       >span:before {
          background: #2c2e3e;
        }
      }
    }

    .el-submenu {
      .el-submenu__title {
        &:before {
          content: '';
          display: inline-block;
          width: 4px;
          background: #fff;
          height: 8px;
          border-radius: 2px;
          margin-right: 10px;
          margin-left: 30px;
        }
      }
      .el-menu-item {
        //&:before {
        //  margin-right: 2px;
        //  margin-left: 27px;
        //  background: #0045c8;
        //}
        &.is-active {
          &:before {
            background: #fff;
          }
        }
        span {
          font-size: 14px;

          &:before {
            visibility: hidden;
          }
        }
      }
    }
  }

}
